package com.yunji.base.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;

@Data
public class UpgradeFileDTO {
    @ApiModelProperty("文件ID")
    private Long fileId;
    @ApiModelProperty("文件名称")
    @NotNull(message = "请输入文件名")
    private String fileName;
    @ApiModelProperty("芯片版本")
    @NotNull(message = "选择芯片版本")
    private String chipType;
    @ApiModelProperty("版本号")
    @NotNull(message = "请输入版本号")
    private String version;
    @NotNull(message = "请上传文件")
    private MultipartFile file;
    @ApiModelProperty("文件编码")
    @NotNull(message = "请传入文件编码")
    private String fileCode;
    @ApiModelProperty("厂商品牌")
    @NotNull(message = "请传入厂商品牌")
    private String factoryBrand;
    @ApiModelProperty("项目编码")
    @NotNull(message = "请传入项目编码")
    private String projectCode;
    @ApiModelProperty("机型")
    @NotNull(message = "请传入机型")
    private String modelType;
    @ApiModelProperty("环境")
    @NotNull(message = "环境")
    private String environment;
}
